#ifndef XSCENE
#define XSCENE
#include "../XModEngine/XObject.h"
#include "../XModEngine/XComponent.h"
#include "XNode.h"
#include "COMInclude.h"
#include "XCamera.h"
class XC_ENTRY XScene :public XObject{
private:
	vector<XNode*> lst_nodes;
	XCamera* m_mainCamera;
public:
	XScene();
	~XScene();
	string ToString();

	void AddNodes(XNode* n_root);
	void DeleteNode();
	void ClearScene();
	void UpdateNodes();
	void RenderNodes();
	void SetMainCamera(XCamera *camera);
};
#endif